'use strict';

var http = require('http'),
	express = require('express'),
	resource = require('express-resource'),
	app = express();
	
app.use(app.router);

app.resource('services/v1/tipps', require('./tipps.js'));
app.resource('services/v1/kategorien', require('./kategorien.js'));

http.createServer(app).listen(3000, function() {
	console.log('App started');
});